﻿@{
    Layout = null;
}
<div style="height:20px"><b>权限管理</b></div>
<div style=" padding-top:50px; padding-bottom:50px">
    <div style=" text-align:center; padding-bottom:50px">
        @foreach(var m in Model)
        {
            <span>@m.Name</span>@Html.CheckBox("ckbRole",(bool)m.Role) @Html.Raw("&nbsp;&nbsp;")
        }
        <div style=" padding-top:50px;">上传限制：@Html.TextBox("txtUploadLimit")</div>
    </div>
    <div style=" text-align:center">
        <button id="btnRoles">保存</button>
        <script>
            $("#btnRoles").button();
        </script>
    </div>
</div>